Repository navigation
ci(main-broken): load pm-dispatch-queue as a local action - #5031
Conversation
The watcher failed at 'Set up job' on every run since 2026-11-03 because
the runner could not download developing-today/code as an action archive
('Could not find file .../_staging/code-<sha>/archive'), so no main
breakage was filed (issue #4867, runs 41627469155, 41629527441,
41665798024).
Check the repo out first and use the in-repo composite action path
instead, which needs no action-repository download.
Fixes #4867
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 19 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. CodeRabbit Verify
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Why
main broken watcherhas not run successfully since 2026-11-03: every run dies in Set up job before any step executes, withRuns affected include 41627469155, 41629527441 and 41665798024 (the latest, on
a5966f8d). Because this is the watcher itself, main-tier breakage in the nine watched workflows goes unfiled while it is broken.Root cause: the job loads the in-repo composite action as an external action repository (
developing-today/code/.github/actions/pm-dispatch-queue@main). That makes the runner download the whole repository as an action archive during Set up job; that download consistently fails, and it fails before conditions are evaluated, so no step-level logic can guard against it.Fix
Check the repository out in the job and reference the action by its local workspace path (
./.github/actions/pm-dispatch-queue). A local action is resolved from the checkout, so nothing is downloaded at job setup.contents: readis added becauseactions/checkoutneeds it.No behaviour change: same action, same inputs, same outputs, same create/append paths.
Verification
yqparses the workflow; thewatchjob now listsactions/checkout@v7first and both dispatch steps use./.github/actions/pm-dispatch-queue.workflow_dispatchrun ofmain broken watcher(dry run,run_id=41665798024) exercises the same job setup and must complete success instead of failing in Set up job. Before this change that setup fails on every dispatch too — the action download happens before step conditions are evaluated.Out of scope / follow-up
flake-inputs-update.yml(pm-dispatch-start@main,pm-dispatch-queue@main) andjules.yml(pm-dispatch-start@main) use the same remote self-reference and fail the same way —flake-inputs-updateruns on 2026-10-31, 11-01, 11-02 and 11-03 all failed. They get their own fix track; this PR is scoped to the watcher.Fixes #4867
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.